<me:UIAPFOLGE x:Class="WPFExcelReport.TSHAP02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"  
                     xmlns:LS="clr-namespace:WPFExcelReport;assembly=TLIEFDAT"   
                     xmlns:DR="clr-namespace:WPFExcelReport;assembly=TDRAUFTR"  
                    xmlns:AE="clr-namespace:WPFExcelReport;assembly=TAPARTE" 
                    xmlns:AK="clr-namespace:WPFExcelReport;assembly=TAPARTK" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    xmlns:OP="clr-namespace:WPFExcelReport;assembly=TKSTAGZUO"   
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIAPFOLGE.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter  x:Key="nbv"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:SDKEYCONV x:Key="sd"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIAPFOLGE.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="1*"/>
        </Grid.RowDefinitions>
        <WrapPanel>
            <TextBlock Text="{Binding Source={Localization:Translate Word=可用条件:}}"/>
            <TextBlock Text="{Binding KEY,ElementName=TV}"/> 
        </WrapPanel>
        <TabControl Grid.Row="1">
            <TabItem Header="{Binding Source={Localization:Translate Word=可选工艺}}">
                <DataGrid  Grid.Row="1"  Grid.Column="0"  
                   VerticalAlignment="Top"  
                   AutoGenerateColumns="False"
                   EnableRowVirtualization="False"
                   IsReadOnly="True"
                   VerticalScrollBarVisibility="Auto"
                   HorizontalScrollBarVisibility="Auto"
                   HeadersVisibility="Column"     
                   ItemsSource="{Binding Source={StaticResource ResourceKey=vwMaster}}" 
                   IsSynchronizedWithCurrentItem="True" 
                   x:Name="dlgMaster"  
                   RowDetailsVisibilityMode="Visible"  
                    >
                    <DataGrid.Columns>
                        <DataGridTextColumn Binding="{Binding APFAFOLGE}" Width="Auto"/>
                        <DataGridTextColumn Binding="{Binding APFKSTKRS}" Width="Auto"/>
                        <DataGridTextColumn Binding="{Binding APFKST}" Header="{Binding Source={Localization:Translate Word=成本中心}}" Width="Auto"/>
                        <DataGridTextColumn Binding="{Binding APFAGANG}" Header="{Binding Source={Localization:Translate Word=操做}}" Width="60"/>
                        <DataGridTextColumn  Binding="{Binding APFBZAGANG,Converter={StaticResource gb2312}}" Header="{Binding Source={Localization:Translate Word=步骤说明}}" Width="60"/>
                        <DataGridTextColumn  Binding="{Binding APFZUSATZ1}" Header="{Binding Source={Localization:Translate Word=产出1}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFZUSATZ2}" Header="{Binding Source={Localization:Translate Word=产出2}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFZUSATZ3}" Header="{Binding Source={Localization:Translate Word=产出3}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFZUSATZ4}" Header="{Binding Source={Localization:Translate Word=产出4}}" Width="Auto"  Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFZUSATZ5}" Header="{Binding Source={Localization:Translate Word=产出5}}" Width="Auto"  Visibility="Collapsed"/>

                        <DataGridTextColumn  Binding="{Binding APFNEGFBKL}" Header="{Binding Source={Localization:Translate Word=是/否}}" Foreground="Red" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFFBKL1}" Header="{Binding Source={Localization:Translate Word=颜色组1}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFFBKL2}" Header="{Binding Source={Localization:Translate Word=颜色组2}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFFBKL3}" Header="{Binding Source={Localization:Translate Word=颜色组3}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFFBKL4}" Header="{Binding Source={Localization:Translate Word=颜色组4}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFFBKL5}" Header="{Binding Source={Localization:Translate Word=颜色组5}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFRZUSA}" Header="{Binding Source={Localization:Translate Word=设置组}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFNEGRGRP}" Header="{Binding Source={Localization:Translate Word=是/否}}" Foreground="Red"  Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFRUESTGRP1}" Header="{Binding Source={Localization:Translate Word=设置1}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFRUESTGRP2}" Header="{Binding Source={Localization:Translate Word=设置2}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFRUESTGRP3}" Header="{Binding Source={Localization:Translate Word=设置3}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFRUESTGRP4}" Header="{Binding Source={Localization:Translate Word=设置4}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFRUESTGRP5}" Header="{Binding Source={Localization:Translate Word=设置5}}" Width="Auto" Visibility="Collapsed"/>


                        <DataGridTextColumn  Binding="{Binding APFNEGSUBST}" Header="{Binding Source={Localization:Translate Word=是/否}}" Foreground="Red"  Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFSUBSTGR1}" Header="{Binding Source={Localization:Translate Word=材质1}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFSUBSTGR2}" Header="{Binding Source={Localization:Translate Word=材质2}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFSUBSTGR3}" Header="{Binding Source={Localization:Translate Word=材质3}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFSUBSTGR4}" Header="{Binding Source={Localization:Translate Word=材质4}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFSUBSTGR5}" Header="{Binding Source={Localization:Translate Word=材质5}}" Width="Auto" Visibility="Collapsed"/>

                        <DataGridTextColumn  Binding="{Binding APFNEGGEW}" Header="{Binding Source={Localization:Translate Word=是/否}}" Foreground="Red"  Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFGEW1}" Header="{Binding Source={Localization:Translate Word=克重1}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFGEW2}" Header="{Binding Source={Localization:Translate Word=克重2}}" Width="Auto"/>

                        <DataGridTextColumn  Binding="{Binding APFNEGBHDLG}" Header="{Binding Source={Localization:Translate Word=是/否}}" Foreground="Red"  Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG1}" Header="{Binding Source={Localization:Translate Word=经密1}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG2}" Header="{Binding Source={Localization:Translate Word=经密2}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG3}" Header="{Binding Source={Localization:Translate Word=经密3}}" Width="Auto"  Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG4}" Header="{Binding Source={Localization:Translate Word=经密4}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG5}" Header="{Binding Source={Localization:Translate Word=经密5}}" Width="Auto" Visibility="Collapsed"/>

                        <DataGridTextColumn  Binding="{Binding APFNEGBHDLG2}" Header="{Binding Source={Localization:Translate Word=是/否}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG21}" Header="{Binding Source={Localization:Translate Word=长短纤1}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG22}" Header="{Binding Source={Localization:Translate Word=长短纤2}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG23}" Header="{Binding Source={Localization:Translate Word=长短纤3}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG24}" Header="{Binding Source={Localization:Translate Word=长短纤4}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG25}" Header="{Binding Source={Localization:Translate Word=长短纤5}}" Width="Auto" Visibility="Collapsed"/>

                        <DataGridTextColumn  Binding="{Binding APFNEGBHDLG3}" Header="{Binding Source={Localization:Translate Word=是/否}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG31}" Header="{Binding Source={Localization:Translate Word=组织1}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG32}" Header="{Binding Source={Localization:Translate Word=组织2}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG33}" Header="{Binding Source={Localization:Translate Word=组织3}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG34}" Header="{Binding Source={Localization:Translate Word=组织4}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG35}" Header="{Binding Source={Localization:Translate Word=组织5}}" Width="Auto" Visibility="Collapsed"/>

                        <DataGridTextColumn  Binding="{Binding APFNEGBHDLG4}" Header="{Binding Source={Localization:Translate Word=是/否}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG41}" Header="{Binding Source={Localization:Translate Word=上浆1}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG42}" Header="{Binding Source={Localization:Translate Word=上浆2}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG43}" Header="{Binding Source={Localization:Translate Word=上浆3}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG44}" Header="{Binding Source={Localization:Translate Word=上浆4}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFBHDLG45}" Header="{Binding Source={Localization:Translate Word=上浆5}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFNEGMERK1}" Header="{Binding Source={Localization:Translate Word=是/否}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFMERK11}" Header="{Binding Source={Localization:Translate Word=紧度1}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFMERK12}" Header="{Binding Source={Localization:Translate Word=紧度2}}" Width="Auto"/>
                        <DataGridTextColumn  Binding="{Binding APFMERK13}" Header="{Binding Source={Localization:Translate Word=紧度3}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFMERK14}" Header="{Binding Source={Localization:Translate Word=紧度4}}" Width="Auto" Visibility="Collapsed"/>
                        <DataGridTextColumn  Binding="{Binding APFMERK15}" Header="{Binding Source={Localization:Translate Word=紧度5}}" Width="Auto" Visibility="Collapsed"/>
                    </DataGrid.Columns>
                </DataGrid  >
            </TabItem>
            <TabItem Header="{Binding Source={Localization:Translate Word=工艺}}">
                <StackPanel>
                    <AK:TAP05 EXAUF="{Binding KEY,ElementName=TV}" Name="cAPK"/>
                    <AE:TAE11 EXAUF="{Binding KEY,ElementName=cAPK}"/>
                </StackPanel>
            </TabItem>
            <TabItem Header="{Binding Source={Localization:Translate Word=可用条件}}"> 
                <Grid >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                    </Grid.ColumnDefinitions>
                    <StackPanel Grid.Column="0">
                        <TextBlock Text="{Binding Source={Localization:Translate Word=设置组:}}"/>
                        <TextBlock Text="{Binding Source={Localization:Translate Word=(整理方式)}}"/>
                        <SD:K9319 Margin="10,0,0,0"
                    KEY="{Binding APFRZUSA,ElementName=TV}"  
                            ORDERNUM="{Binding APFRZUSA,ElementName=TV}"  
                          IsEdit="{Binding IsEdit,ElementName=TV}"/>
                        <WrapPanel>
                            <SD:K0275 Margin="10,0,0,0" KEY="{Binding APFRUESTGRP,ElementName=TV}" GotFocus="SD_GotFocus"
                          IsEdit="{Binding IsEdit,ElementName=TV}" />
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="1"  Grid.Column="1"
                              Text="{Binding APFNEGRGRP}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        </WrapPanel>

                        <ex:TXT72  Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFRUESTGRP1}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFRUESTGRP2}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFRUESTGRP3}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFRUESTGRP4}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFRUESTGRP5}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />

                    </StackPanel>
                    <StackPanel Grid.Column="1">
                        <TextBlock Text="{Binding Source={Localization:Translate Word=颜色组:}}"/>
                        <WrapPanel>
                            <SD:K0460 Margin="10,0,0,0" KEY="{Binding APFFBKL,ElementName=TV}" GotFocus="SD_GotFocus"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="1"  Grid.Column="1"
                                  Text="{Binding APFNEGFBKL}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        </WrapPanel>

                        <ex:TXT72  Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFFBKL1}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFFBKL2}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFFBKL3}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFFBKL4}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFFBKL5}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                    </StackPanel>
                    <StackPanel Grid.Column="2">
                        <TextBlock Text="{Binding Source={Localization:Translate Word=材质:}}"/>
                        <WrapPanel>
                            <SD:K0457 Margin="10,0,0,0" KEY="{Binding APFSUBSTGR,ElementName=TV}" GotFocus="SD_GotFocus"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="1"  Grid.Column="1"
                                  Text="{Binding APFNEGSUBST}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        </WrapPanel>

                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFSUBSTGR1}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFSUBSTGR2}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFSUBSTGR3}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFSUBSTGR4}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFSUBSTGR5}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                    </StackPanel>
                    <StackPanel Grid.Column="3">
                        <TextBlock Text="{Binding Source={Localization:Translate Word=克重:}}"/>
                        <SD:K0413 Margin="10,0,0,0" Visibility="Collapsed"
                    KEY="{Binding APFGEWSCHL,ElementName=TV}"  
                          LMS="RQ;" GotFocus="SD_GotFocus"
                            ORDERNUM="{Binding APFGEWSCHL,ElementName=TV}"  
                          IsEdit="{Binding IsEdit,ElementName=TV}"/>
                        <WrapPanel>
                            <SD:K0665 Margin="10,0,0,0" KEY="{Binding APFGEW,ElementName=TV}" 
                            GotFocus="SD_GotFocus"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="1"  Grid.Column="1"
                                  Text="{Binding APFNEGGEW}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        </WrapPanel>
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFGEW1}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFGEW2}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <StackPanel Grid.Column="4">
                            <TextBlock Text="{Binding Source={Localization:Translate Word=经密:}}"/>
                            <WrapPanel>
                                <SD:K0453 Margin="10,0,0,0" KEY="{Binding APFBHDLG,ElementName=TV}" 
                              GotFocus="SD_GotFocus"
                          INFO="经密:"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                                <ex:TXT72 Margin="10,0,0,0" MaxLength="1"  Grid.Column="1"
                                  Text="{Binding APFNEGBHDLG}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            </WrapPanel>

                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFBHDLG1}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFBHDLG2}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFBHDLG3}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFBHDLG4}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFBHDLG5}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40"  Visibility="Collapsed"/>

                        </StackPanel>
                    </StackPanel>

                    <StackPanel Grid.Column="5">
                        <TextBlock Text="{Binding Source={Localization:Translate Word=长短纤维:}}"/>
                        <WrapPanel>
                            <SD:K0455 Margin="10,0,0,0" KEY="{Binding APFBHDLG2,ElementName=TV}" 
                          INFO="长短纤维:"  GotFocus="SD_GotFocus"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="1"  Grid.Column="1"
                                  Text="{Binding APFNEGBHDLG2}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        </WrapPanel>
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFBHDLG21}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFBHDLG22}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFBHDLG23}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFBHDLG24}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFBHDLG25}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                        <StackPanel Grid.Column="6">
                            <TextBlock Text="{Binding Source={Localization:Translate Word=组织:}}"/>
                            <WrapPanel>
                                <SD:K0450 Margin="10,0,0,0" KEY="{Binding APFBHDLG3,ElementName=TV}" 
                          INFO="组织:" GotFocus="SD_GotFocus"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                                <ex:TXT72 Margin="10,0,0,0" MaxLength="1"  Grid.Column="1"
                                  Text="{Binding APFNEGBHDLG3}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            </WrapPanel>

                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFBHDLG31}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFBHDLG32}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFBHDLG33}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFBHDLG34}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFBHDLG35}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                        </StackPanel>
                    </StackPanel>

                    <StackPanel Grid.Column="7">
                        <TextBlock Text="{Binding Source={Localization:Translate Word=上浆:}}"/>
                        <WrapPanel>
                            <SD:K0458 Margin="10,0,0,0" KEY="{Binding APFBHDLG4,ElementName=TV}" 
                          INFO="上浆:" GotFocus="SD_GotFocus"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="1"  Grid.Column="1"
                                  Text="{Binding APFNEGBHDLG4}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        </WrapPanel>

                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFBHDLG41}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                        <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFBHDLG42}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFBHDLG43}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFBHDLG44}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                        <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFBHDLG45}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                        <StackPanel Grid.Column="8">
                            <TextBlock Text="{Binding Source={Localization:Translate Word=经向紧度:}}"/>
                            <WrapPanel>
                                <SD:K0674  Margin="10,0,0,0" KEY="{Binding APFMERK1,ElementName=TV}" 
                          INFO="经向紧度:" GotFocus="SD_GotFocus"
                          IsEdit="{Binding IsEdit,ElementName=TV}"  />
                                <ex:TXT72 Margin="10,0,0,0" MaxLength="1"  Grid.Column="1"
                                  Text="{Binding APFNEGMERK1}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            </WrapPanel>

                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFMERK11}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            <ex:TXT72 Margin="10,0,0,0"  MaxLength="3" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFMERK12}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFMERK13}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFMERK14}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>
                            <ex:TXT72 Margin="10,0,0,0" MaxLength="3" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFMERK15}"  PRE="000"
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" Visibility="Collapsed"/>

                        </StackPanel>
                    </StackPanel>

                </Grid>
            </TabItem>
        </TabControl>
     </Grid> 
</me:UIAPFOLGE>
